package com.company.project.vo.req;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 
 * Title: FindContentparam.java  
 * Description: 前端查看文章列表参数    
 * @author LS  
 * @date 2021-3-8 11:32:01  
 * @version 1.0
 */
@Data
public class FindContentParam {
	
	@ApiModelProperty(value = "页码")
	@Min(value=0,message="页码必须大于0！")
    private int pageIndex = 1;

	@ApiModelProperty(value = "项目名")
	@Min(value=0,message="页码必须大于0！")
    private int pageSize = 10;
    
    /**
     * 类型（数据字典,1:新闻，2:通知）
     */
	@NotBlank(message = "文章类型不能为空")
	@ApiModelProperty(value = "文章类型，1:新闻，2:通知")
    private String type;

}
